﻿@model FlitBit.Dto.ModelBinding.Sample.Models.IPerson

@{
	ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
	<legend>IPerson</legend>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.Name)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.Name)
	</div>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.BirthDate)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.BirthDate)
	</div>

	<div class="display-label">
		@Html.DisplayNameFor(model => model.HasBeens)
	</div>
	<div class="display-field">
		@Html.DisplayFor(model => model.HasBeens)
	</div>
</fieldset>
<p>
	@Html.ActionLink("Edit", "Edit", new {id = Model.ID}) |
	@Html.ActionLink("Back to List", "Index")
</p>
